<template>
	<view class="w-max h-max">
		<video class="w-max h-max" :src="src" autoplay loop />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			};
		},
		onLoad(e) {
			this.src = e.src
		}
	}
</script>

<style lang="scss">
	page {
		width: 100%;
		height: 100%;
	}
</style>
